/** @file window.h
 * @brief Independent function, obtain the keyboard operation
 * @author - Robert Zhang <armner@gmail.com>
 *         - Heynie Yao<aheynie@gamil.com>
 * @date 
 * @version 1.0.0
 * @note
 */
#ifndef _WINDOW_H_
#define _WINDOW_H_

#include "widget.h"
//#include "msg_queue.h"
/** @class Window window.h "window/window.h"
 * @brief Independent function, get the keyboard operation
 */
class Window:public Widget
{
public:
    Window(HWND parent=0);
    ~Window();

    virtual int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
    virtual int run();/**< @brief dynamic call the Create function */
private:
    virtual void draw(Rect *r);/**< @brief Directly display controls*/

};


#endif
